﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="/favicon.ico">

    <title>自定义表单设计</title>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>
    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-form.css" rel="stylesheet"/>
    <link href="/module/plugin/wizard/wizard.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/inputsearch/lr-isearch.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>
    <link href="/module/plugin/custmerform/lr-formdesigner.css" rel="stylesheet"/>

    <link href="form.css" rel="stylesheet"/>


    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
    <script src="/assets/plugins/jquery/jquery.md5.min.js"></script>
    <script src="/assets/plugins/laydate/laydate.js"></script>
    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script>
        function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
    </script>

</head>
<body class="Chrome 64.0 lr-uitheme-top">
<div id="lr_form_bg" class="lr-form-bg"></div>


<div class="widget-body">
    <div id="wizard" class="wizard" data-target="#wizard-steps">
        <ul class="steps">
            <li data-target="#step-1" class="active"><span class="step">1</span>基本配置<span class="chevron"></span></li>
            <li data-target="#step-2"><span class="step">2</span>数据表设置<span class="chevron"></span></li>
            <li data-target="#step-3"><span class="step">3</span>表单设计<span class="chevron"></span></li>
        </ul>
    </div>
    <div class="step-content" id="wizard-steps">
        <div class="step-pane active step-pane-base" id="step-1">
            <div class="lr-alert">
                <div class="alert alert-danger">
                    <i class="fa fa-warning alert-dismissible"></i>
                    请你填写表单信息，用于创建或修改表单！
                </div>
            </div>
            <div class="panel panel-default lr-panel">
                <div class="panel-heading">
                    <h3 class="panel-title">表单基本信息配置</h3>
                </div>
                <div class="panel-body">
                    <input id="schemeId" type="hidden"  />
                    <div class="col-xs-12 lr-form-item" style="top:15px;">
                        <div class="lr-form-item-title">表单编号<font face="宋体">*</font></div>
                        <input id="code" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
                    </div>
                    <div class="col-xs-12 lr-form-item" style="top:53px;">
                        <div class="lr-form-item-title">表单名称<font face="宋体">*</font></div>
                        <input id="name" type="text" class="form-control" placeholder="请输入名称" isvalid="yes" checkexpession="NotNull" />
                    </div>
                    <div class="col-xs-12 lr-form-item" style="top:91px;">
                        <div class="lr-form-item-title">表单分类<font face="宋体">*</font></div>
                        <div id="category" isvalid="yes" checkexpession="NotNull"></div>
                    </div>
                    <div class="col-xs-12 lr-form-item" style="position:relative;width:100%;top: 38px;height: 280px;">
                        <div class="lr-form-item-title">备注</div>
                        <textarea id="description" class="form-control" style="height: 100%;"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="step-pane step-gird-pane" id="step-2">
            <div class="btn-tool-bar">
                <div class="btn-tool-bar-left"><div id="dbId" isvalid="yes" checkexpession="NotNull"></div></div>

                <div class="btn-group btn-group-sm">
                    <a id="lr_db_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
                    <a id="lr_db_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
                    <a id="lr_db_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
                </div>
            </div>
            <div id="gridtable"></div>
        </div>
        <div class="step-pane" id="step-3">
        </div>
    </div>

    <div class="lr-form-bottom-button" id="wizard-actions">
        <a id="btn_prev" class="btn btn-default btn-prev" disabled>上一步</a>
        <a id="btn_next" class="btn btn-default btn-next">下一步</a>
        <a id="btn_draft" class="btn btn-warning">保存草稿</a>
        <a id="btn_finish" class="btn btn-success" disabled>保存</a>
    </div>
</div>


<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/wizard/wizard.js"></script>
<script src="/module/script/lr-form.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/inputsearch/lr-isearch.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/plugin/custmerform/lr-formcomponts.js"></script>
<script src="/module/plugin/custmerform/lr-formdesigner.js"></script>

<script src="form.js"></script>

<script>
    var lrModuleButtonList;var lrModuleColumnList;var lrModule;
    $.lrToken = config.getToken().access_token;
    $(function () {
        $('#lr_form_bg').fadeOut();


        if (!!window.bootstrap) {
            bootstrap(jQuery, top.learun);
        }
    });
</script>
</body>
</html>
